/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package camel.client;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 * @author mac
 */
public class BriefSessionInfo implements Serializable {
	private static final long serialVersionUID = 1535269996920813162L;
    private Long sessionId;
    
    private Date timeCreated;
    private Date timeLastUpdated;
    private String title;
    private String description;
    private String creator;
    private Boolean PlaybackOnly;
    private List<String> participants;
    
    public BriefSessionInfo () {
        participants = new ArrayList<String>();
    }

    public Long getSessionId() {
        return sessionId;
    }

    public void setSessionId(Long sessionId) {
        this.sessionId = sessionId;
    }

    public Date getTimeCreated() {
        return timeCreated;
    }

    public void setTimeCreated(Date timeCreated) {
        this.timeCreated = timeCreated;
    }

    public Date getTimeLastUpdated() {
        return timeLastUpdated;
    }

    public void setTimeLastUpdated(Date timeLastUpdated) {
        this.timeLastUpdated = timeLastUpdated;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public List<String> getParticipants() {
        return participants;
    }

    public void addParticipant(String name) {
        this.getParticipants().add(name);
    }

	public void setPlaybackOnly(Boolean playbackOnly) {
		PlaybackOnly = playbackOnly;
	}

	public Boolean getPlaybackOnly() {
		return PlaybackOnly;
	}
}
